home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
COMMUNIC
/
TERMINAL
/
1589.ZIP
/
RELATE.H
< prev
next >
Wrap
Text File
|
1989-03-29
|
5KB
|
73 lines
#include "termdefs.h"
struct relations emulate[] =
{
{"ae", {NULL}, 0, ENDALTERNATE }, /* End alternate character set */
{"al", {NULL}, 0, BLANKLINE }, /* Add new blank line */
{"am", {NULL}, 0, AUTOMARGINS }, /* Terminal has automatic margins */
{"as", {NULL}, 0, STARTALTERNATE }, /* Start alternate character set */
{"BH", {NULL}, 0, BOTTOMHORZ }, /* Bottom horizontal */
{"bl", {NULL}, 0, BELL }, /* Audible signal BELL */
{"BL", {NULL}, 0, BOTTOMLEFT }, /* Bottom Left corner box character */
{"BR", {NULL}, 0, BOTTOMRIGHT }, /* Bottom right corner box character */
{"cd", {NULL}, 0, CLEARTOBOTTOM }, /* Clear to end of display */
{"ce", {NULL}, 0, CLEARENDLINE }, /* Clear to end of line */
{"cl", {NULL}, 0, CLEARANDHOME }, /* Clear and home cursor */
{"cr", {NULL}, 0, CARRAGERETURN }, /* Carrage Return */
{"cm", {NULL}, 0, CURSORADDRESS }, /* Cursor address, row col */
{"co", "=#80:",0, NUMBERCOLUMNS }, /* Columns */
{"dc", {NULL}, 0, DELETECHAR }, /* Delete character */
{"dl", {NULL}, 0, DELETELINE }, /* Delete Line */
{"do", {NULL}, 0, DOWNLINE }, /* Down one line */
{"ei", {NULL}, 0, ENDINSERT }, /* End insert mode */
{"ho", {NULL}, 0, HOMECURSOR }, /* Home Cursor */
{"im", {NULL}, 0, INSERTMODE }, /* Insert mode */
{"kb", {NULL}, 0, BACKSPACE }, /* Sent by backspace key */
{"kd", {NULL}, 0, DOWNARROW }, /* Sent by terminal down arrow key */
{"kl", {NULL}, 0, LEFTARROW }, /* Sent by terminal left arrow key */
{"kr", {NULL}, 0, RIGHTARROW }, /* Sent by terminal right arrow key */
{"ku", {NULL}, 0, UPARROW }, /* Sent by terminal up arror key */
{"k1", {NULL}, 0, FUNCTION1 }, /* Sent by terminal F1 key */
{"k2", {NULL}, 0, FUNCTION2 }, /* Sent by terminal F2 key */
{"k3", {NULL}, 0, FUNCTION3 }, /* Sent by terminal F3 key */
{"k4", {NULL}, 0, FUNCTION4 }, /* Sent by terminal F4 key */
{"k5", {NULL}, 0, FUNCTION5 }, /* Sent by terminal F5 key */
{"k6", {NULL}, 0, FUNCTION6 }, /* Sent by terminal F6 key */
{"k7", {NULL}, 0, FUNCTION7 }, /* Sent by terminal F7 key */
{"k8", {NULL}, 0, FUNCTION8 }, /* Sent by terminal F8 key */
{"k9", {NULL}, 0, FUNCTION9 }, /* Sent by terminal F9 key */
{"k0", {NULL}, 0, FUNCTION0 }, /* Sent by terminal F10 key */
{"k11",{NULL}, 0, FUNCTION11 }, /* Sent by terminal F11 key */
{"k12",{NULL}, 0, FUNCTION12 }, /* Sent by terminal F12 key */
{"k13",{NULL}, 0, FUNCTION13 }, /* Sent by terminal F13 key */
{"k14",{NULL}, 0, FUNCTION14 }, /* Sent by terminal F14 key */
{"k15",{NULL}, 0, FUNCTION15 }, /* Sent by terminal F15 key */
{"k16",{NULL}, 0, FUNCTION16 }, /* Sent by terminal F16 key */
{"LA", {NULL}, 0, LINEATTRIBUTE }, /* Line draw character attribute */
{"le", {NULL}, 0, CURSORLEFT }, /* Move cursor left one space */
{"li", "=#24:",0, NUMBERLINES }, /* Lines */
{"ll", {NULL}, 0, LASTLINE }, /* Last line, first colume */
{"ms", {NULL}, 0, SAFETOMOVE }, /* Safe to move in standout mode */
{"nd", {NULL}, 0, SPACERIGHT }, /* Non-distructive space, right */
{"nw", {NULL}, 0, NEWLINE }, /* Newline, behaves like cr/lf */
{"sf", {NULL}, 0, SCROLLUP }, /* Scroll text up */
{"se", {NULL}, 0, ENDSTANDOUT }, /* End standout mode (normal) */
{"so", {NULL}, 0, BEGINSTANDOUT }, /* Begin standout mode (highlight) */
{"TH", {NULL}, 0, TOPSIDECHAR }, /* Top side box character */
{"TL", {NULL}, 0, UPPERLEFTCHAR }, /* Upper left corner box character */
{"TR", {NULL}, 0, UPPERRIGHTCHAR }, /* Upper right corner box character */
{"ue", {NULL}, 0, ENDUNDERSCORE }, /* End underscore mode */
{"up", {NULL}, 0, CURSORUP }, /* Cursor up */
{"us", {NULL}, 0, STARTUSCORE }, /* Start underscore mode */
{"ve", {NULL}, 0, CURSORNORMAL }, /* Make cursor appear normal */
{"vs", {NULL}, 0, CURSORBRIGHT }, /* Make cursor very visible */
{"vi", {NULL}, 0, CURSORGONE }, /* Make cursor invisible */
{"VL", {NULL}, 0, LEFTBOXCHAR }, /* Left-hand side box character */
{"VR", {NULL}, 0, RIGHTBOXCHAR }, /* Right-hand side box character */
{"xo", {NULL}, 0, XONXOFF }, /* Terminal user xon/xoff handshaking*/
{"rd", {NULL}, 0, CURSORATTR }, /* Cursor Attribute */
{{NULL},{NULL},0, 0 } /* End of list */
} ;